package com.xinzhidi.web.equipment.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 存档恢复记录InfoVo对象 equipment_archives_restore
 *
 * @author ruoyi
 * @date 2023-07-21
 */
@ApiModel(value = "存档恢复记录InfoVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentArchivesRestoreInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "存档类型1小区2楼栋3单元")
    private Long type;

    @ApiModelProperty(value = "阀门开度")
    private BigDecimal valveOpen;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "存档时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date archivesTime;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

}
